package com.member.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: MemberService
 * @Author: mingtian
 * @CreateDate: 2020/1/10 15:31
 * @Version: 1.0
 */
public interface MemberService {
    /**
     * 根据 userId 查询用户信息
     *
     * @return
     */
    @GetMapping("/getUser")
    String getUser();


    /**
     * 根据 userId 查询用户信息
     * @param userId
     * @return
     */
    @GetMapping("/getUserByUserId")
    String getUserByUserId(@RequestParam("userId") String userId);
}
